package com.charmzenus.champion.dagger.module.fragment.main;

import com.charmzenus.champion.presenter.fragment.main.MainOrderFragmentPresenter;
import com.charmzenus.champion.ui.fragment.main.MainOrder;

import dagger.Module;
import dagger.Provides;

/**
 * Created by a1899 on 2018/4/26.
 */

@Module
public class MainOrderFragmentModule {


    private MainOrder mainOrder;


    public MainOrderFragmentModule(MainOrder mainOrder) {
        this.mainOrder = mainOrder;
    }

    @Provides
    MainOrderFragmentPresenter provideMainOrderFragmentPresenter() {
        return new MainOrderFragmentPresenter(mainOrder);
    }
}
